<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <base href="${request.contextPath}/"/>
    <meta charset="UTF-8">
    <meta name="Keywords" content="">
    <meta name="Description" content="">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0,minimum-scale=1.0">
    <title>漠河智慧社区</title>
    <link href="Content/wechat/css/reset.css" rel="stylesheet" type="text/css">
    <!--赞-->
    <link href="Content/wechat/css/demo.css" rel="stylesheet" type="text/css">
    <!--end 赞-->
    <link href="Content/wechat/css/dangJian_zuoFengJianShe_xx.css" rel="stylesheet" type="text/css">

    <script src="Content/wechat/js/jquery.min.js"></script>
    <!--字体缩放-->
    <script src="Content/wechat/js/ziti.js"></script>
    <!--end 字体缩放-->
</head>
<body >
<div class="header">

    <div class="header_xx">
        <h4>姓名:${cultureIntelligent.rows[0].intelligentname!}</h4>
        <span>电话:${cultureIntelligent.rows[0].intelligentphone!}</span>
        <span>社区:${cultureIntelligent.rows[0].communityname!}</span>
        <p id="insetViewData">
            <img src="${cultureIntelligent.rows[0].imgUrl!}">
        </p>
        <p>自荐理由:${cultureIntelligent.rows[0].intelligentreason!}</p>
    </div>

    <!--赞-->
<!--    <div class="praise">-->
<!--        <span id="praise"><img src="Content/wechat/images/zan.png" id="praise-img" /></span>-->
<!--        <span id="praise-txt">1455</span>-->
<!--        <span id="add-num"><em>+1</em></span>-->
<!--    </div>-->
<!--    <script>-->
<!--        /* @author:Romey-->
<!--         * 动态点赞-->
<!--         * 此效果包含css3，部分浏览器不兼容（如：IE10以下的版本）-->
<!--         */-->
<!--        $(function(){-->
<!--            $("#praise").click(function(){-->
<!--                var praise_img = $("#praise-img");-->
<!--                var text_box = $("#add-num");-->
<!--                var praise_txt = $("#praise-txt");-->
<!--                var num=parseInt(praise_txt.text());-->
<!--                if(praise_img.attr("src") == ("Content/wechat/images/yizan.png")){-->
<!--                    $(this).html("<img src='Content/wechat/images/zan.png' id='praise-img' class='animation' />");-->
<!--                    praise_txt.removeClass("hover");-->
<!--                    text_box.show().html("<em class='add-animation'>-1</em>");-->
<!--                    $(".add-animation").removeClass("hover");-->
<!--                    num -=1;-->
<!--                    praise_txt.text(num)-->
<!--                }else{-->
<!--                    $(this).html("<img src='Content/wechat/images/yizan.png' id='praise-img' class='animation' />");-->
<!--                    praise_txt.addClass("hover");-->
<!--                    text_box.show().html("<em class='add-animation'>+1</em>");-->
<!--                    $(".add-animation").addClass("hover");-->
<!--                    num +=1;-->
<!--                    praise_txt.text(num)-->
<!--                }-->
<!--            });-->
<!--        })-->
<!--    </script>-->
<!--    &lt;!&ndash;动态点赞结束&ndash;&gt;-->

</div>
</body>
<script>

    window.onload = function () {
        InitAjax();
    }
    function InitAjax() {

        $.ajax({
            url: "/wechat/util/queryImgUrl",
            type: 'post',
            dataType: 'json',
            data: {
                keyValue:'${cultureIntelligent.rows[0].id!}',
                ywType:'intelligent'

            }, success: function (result) {

                ajaxCallBack(result);
            }

        })
    }

    function ajaxCallBack(data) {

        var insetViewData = ""; //视图数据
        console.log(data.data);
        $.each(data.data, function(index,items) {
            insetViewData+=" <img src=\""+items.urlPath+"\">";

        });
        $("#insetViewData").html(insetViewData);

    }


</script>




</html>